#ifndef ELEMENT_H
#define ELEMENT_H

#include <QObject>
#include <QPoint>
#include "../DataStructure/Enums.h"

class QPainter;

class Element : public QObject
{
Q_OBJECT
public:
    Element(QObject *parent = 0);

    virtual void draw(QPainter *pDC) = 0;
    virtual bool isSame(Element *pElem, bool bByValue = true) = 0;
    virtual bool nearToMe(QPoint pos) = 0;


signals:

public slots:

};

#endif // ELEMENT_H
